export default class ScorePanel extends Laya.Script {

    constructor() { 
        super(); 
        /** @prop {name:txt_time, tips:"整数类型示例", type:Node, default:null}*/
        this.txt_time=null;
        /** @prop {name:MyScore, tips:"整数类型示例", type:Node, default:null}*/
        this.MyScore=null;
        /** @prop {name:AIScore, tips:"整数类型示例", type:Node, default:null}*/
        this.AIScore=null;

        // 更多参数说明请访问: https://ldc2.layabox.com/doc/?nav=zh-as-2-4-0
    }
    UpdateMyScore(score){
        this.MyScore.text=score;
    }
    UpdateAIScore(score){
        this.AIScore.text=score;
    }
    Updatetime(time){
        this.txt_time.text=time;

    }
}